

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>WSDL Namespace [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Web Services (WSDL),Web Services (WSDL) Model WSDL, Namepaces,Model,Model WSDL, Namepace,Element,Element WSDL Namespace,WSDL,WSDL Namespace Element,WSDL Overview Diagram,Diagram,Diagram WSDL Overview,Diagram WSDL Types,Namespace,Namespace WSDL Element">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">WSDL Namespace</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="model_wsdl.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="wsdl_document.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">The WSDL namespace in Enterprise Architect represents the top-level container for the WSDL elements, including WSDL documents. Conceptually it maps to the </span><span class="f_BodyText" style="font-style: italic;">targetNamespace</span><span class="f_BodyText"> in a WSDL definition element. A given WSDL namespace can reuse its schema Types, Messages, Port Types, Bindings and Service across multiple physical WSDL documents.</span></p>
<p class="p_BodyText"><span class="f_BodyText">The figure below shows an example WSDL namespace (</span><span class="f_BodyText" style="font-style: italic;">WSDLPackage1</span><span class="f_BodyText">, which has a red margin to the bottom right corner), including a single WSDL document:</span></p>
<p class="p_TextIndentedL2"><img src="eaprojexplorer.png" width="271" height="404" border="0" alt="EAProjExplorer"></p>
<p class="p_BodyText"><span class="f_BodyText">To create a new WSDL namespace in your model, follow the steps below.</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Open or create the appropriate diagram.</span></li>
<li value=2><span class="f_NumberedList">Select the </span><span class="f_MenuKeyField">More Tools | WSDL</span><span class="f_NumberedList"> menu option from the Enterprise Architect UML </span><span class="f_UIControl">Toolbox</span><span class="f_NumberedList">.</span></li>
<li value=3><span class="f_NumberedList">Drag the </span><span class="f_MenuKeyField" style="font-style: italic; font-weight: normal;">Namespace</span><span class="f_NumberedList"> element from the </span><span class="f_UIControl">Toolbox</span><span class="f_NumberedList"> onto the diagram. The</span><span class="f_UIControl"> WSDL Namespace Properties </span><span class="f_NumberedList">dialog displays:</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="wsdlnamespaceprops.png" width="392" height="106" border="0" alt="WSDLNamespaceProps"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=4><span class="f_NumberedList">Type in a </span><span class="f_MenuKeyField">WSDL Package Name</span><span class="f_NumberedList"> and </span><span class="f_MenuKeyField">Target Namespace</span><span class="f_NumberedList"> name. You can edit these values later.</span></li>
<li value=5><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to create a package stereotyped as </span><span class="f_NumberedList" style="font-style: italic;">WSDLnamespace</span><span class="f_NumberedList">. This contains the following sub-packages and an Overview diagram to navigate between the sub-packages:</span></li>
</ol>
<ul style="text-indent: 0px; margin-left: 65px; list-style-position: outside;">
<li><span class="f_MenuKeyField">Types</span><span class="f_Bulletlist3">: Contains the XSD types used by the WSDL </span><span class="f_Bulletlist3" style="font-style: italic;">Message</span><span class="f_Bulletlist3"> elements; this package is modeled as an <a href="model_xsd.htm">XML Schema</a>, and you drag <a href="uml_profile_for_xsd.htm#element">XSDelement</a>, <a href="uml_profile_for_xsd.htm#simple">XSDsimpleType</a> and <a href="uml_profile_for_xsd.htm#complex">XSDcomplexType</a> elements onto the Types diagram from the </span><span class="f_UIControl"><a href="xmlschemagroup.htm">XSD Schema</a></span><span class="f_Bulletlist3"><a href="xmlschemagroup.htm"> page</a> of the Enterprise Architect UML</span><span class="f_UIControl"> Toolbox</span><span class="f_Bulletlist1"> </span></li>
<li><span class="f_MenuKeyField">Messages</span><span class="f_Bulletlist3">: Contains the WSDL </span><span class="f_Bulletlist3" style="font-style: italic;">Messages</span><span class="f_Bulletlist3">, modeled as UML Classes marked with the stereotype </span><span class="f_Bulletlist3" style="font-style: italic;">WSDLmessage</span></li>
<li><span class="f_MenuKeyField">PortTypes</span><span class="f_Bulletlist3">: Contains the WSDL </span><span class="f_Bulletlist3" style="font-style: italic;">Port Types</span><span class="f_Bulletlist3">, modeled as UML interfaces marked with the stereotype </span><span class="f_Bulletlist3" style="font-style: italic;">WSDLportType</span></li>
<li><span class="f_MenuKeyField">Bindings</span><span class="f_Bulletlist3">: Contains the WSDL </span><span class="f_Bulletlist3" style="font-style: italic;">Bindings</span><span class="f_Bulletlist3">, modeled as UML Classes that realize the </span><span class="f_Bulletlist3" style="font-style: italic;">PortTypes</span></li>
<li><span class="f_MenuKeyField">Services</span><span class="f_Bulletlist3">: Contains the WSDL </span><span class="f_Bulletlist3" style="font-style: italic;">Services, </span><span class="f_Bulletlist3">modeled as UML interfaces with associations to each exposed </span><span class="f_Bulletlist3" style="font-style: italic;">Binding</span><span class="f_Bulletlist3">.</span></li>
</ul>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">Use the Overview diagram to navigate between the subpackages, by double-clicking the relevant packages. You can edit the sample WSDL elements created in the previous step, or drag new items from the </span><span class="f_UIControl">WSDL</span><span class="f_NumberedList"> pages of the </span><span class="f_UIControl">Toolbox</span><span class="f_NumberedList"> onto the relevant diagrams.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="wsdlnamespacediag.png" width="768" height="382" border="0" alt="WSDLNamespaceDiag"><br>
<span class="f_NumberedList">&nbsp;</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">You can edit the WSDL-specific properties of the namespace later by double-clicking the package in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">. Alternatively, on the </span><span class="f_UIControl">WSDL Namespace Properties</span><span class="f_BodyText"> dialog, click on the </span><span class="f_MenuKeyField">UML</span><span class="f_BodyText"> button to invoke the standard </span><span class="f_UIControl">Properties</span><span class="f_BodyText"> dialog for a package. (This button does not display on the initial </span><span class="f_UIControl">WSDL Namespace Properties</span><span class="f_BodyText"> dialog for a new Namespace element.)</span></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
